home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / acctprc.z / acctprc
Encoding:
Text File  |  1998-10-20  |  6.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. aaaaccccccccttttpppprrrrcccc((((1111MMMM))))                                                        aaaaccccccccttttpppprrrrcccc((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc, _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111, _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_2222 - process accounting
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_aaaa_cccc_cccc_tttt_pppp_rrrr_cccc
  13.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111 [_c_t_m_p]
  14.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_2222
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc reads standard input, in the form described by _aaaa_cccc_cccc_tttt(4), and
  18.      converts it to total accounting records (see the _tttt_aaaa_cccc_cccc_tttt record in
  19.      _aaaa_cccc_cccc_tttt(4)).  _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc divides CPU time into prime time and nonprime time and
  20.      determines mean memory size (in memory segment units).  _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc then
  21.      summarizes the _tttt_aaaa_cccc_cccc_tttt records, according to user IDs, and adds login names
  22.      corresponding to the user IDs.  The summarized records are then written
  23.      to standard output.  _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111 reads input in the form described by
  24.      _aaaa_cccc_cccc_tttt(4), adds login names corresponding to user IDs, then writes for each
  25.      process an ASCII line giving user ID, login name, prime CPU time (tics),
  26.      nonprime CPU time (tics), and mean memory size (in memory segment units).
  27.      If _c_t_m_p is given, it is expected to contain a list of login sessions
  28.      sorted by user ID and login name.  If this file is not supplied, it
  29.      obtains login names from the password file, just as _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc does.  The
  30.      information in _c_t_m_p helps it distinguish between different login names
  31.      sharing the same user ID.
  32.  
  33.      From standard input, _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_2222 reads records in the form written by
  34.      _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111, summarizes them according to user ID and name, then writes the
  35.      sorted summaries to the standard output as total accounting records.
  36.  
  37.      _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111 checks the environment variable _A_C_C_T__A__S_S_I_Z_E to figure out the
  38.      maximum number of sessions that it might need to report in one accounting
  39.      run.
  40.  
  41.      All three of these commands check the environment variable _A_C_C_T__A__U_S_I_Z_E
  42.      to figure out the maximum number of distinct login names that need to be
  43.      reported in one accounting run.
  44.  
  45. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  46.      The _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc command is typically used as shown below:
  47.  
  48.           _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc _<<<< _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_pppp_aaaa_cccc_cccc_tttt _>>>> _pppp_tttt_aaaa_cccc_cccc_tttt
  49.  
  50.      The _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111 and _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_2222 commands are typically used as shown below:
  51.  
  52.           _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111 _cccc_tttt_mmmm_pppp _<<<< _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_pppp_aaaa_cccc_cccc_tttt _|||| _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_2222 _>>>> _pppp_tttt_aaaa_cccc_cccc_tttt
  53.  
  54.  
  55. FFFFIIIILLLLEEEESSSS
  56.      _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. aaaaccccccccttttpppprrrrcccc((((1111MMMM))))                                                        aaaaccccccccttttpppprrrrcccc((((1111MMMM))))
  71.  
  72.  
  73.  
  74. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  75.      acct(1M), acctcms(1M), acctcom(1), acctcon(1M), acctmerg(1M), acctsh(1M),
  76.      cron(1M), fwtmp(1M), runacct(1M), acct(2), acct(4), utmp(4).
  77.  
  78. NNNNOOOOTTTTIIIICCCCEEEESSSS
  79.      Although it is possible for _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc_1111 to distinguish among login names
  80.      that share user IDs for commands run normally, it is difficult to do this
  81.      for those commands run from _cccc_rrrr_oooo_nnnn(1M), for example.  A more precise
  82.      conversion can be done using the _aaaa_cccc_cccc_tttt_wwww_tttt_mmmm_pppp program in _aaaa_cccc_cccc_tttt(1M).  _aaaa_cccc_cccc_tttt_pppp_rrrr_cccc
  83.      does not distinguish between users with identical user IDs.
  84.  
  85.      A memory segment of the mean memory size is a unit of measure for the
  86.      number of bytes in a logical memory segment on a particular processor.
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.